//
//  HDFinishButton.swift
//  HuaDaoPeifu
//
//  Created by liangyuanliangyuan on 16/5/6.
//  Copyright © 2016年 paiyipai. All rights reserved.
//

import UIKit

class HDFinishButton: UIButton {

    init(title: String) {
        super.init(frame: CGRect.zero)
        layer.cornerRadius = 5
        clipsToBounds = true  //切弧度角
        setTitle(title, for: UIControlState())
        setTitleColor(.white, for: UIControlState())
        self.backgroundColor = ConstantColor.appThemeColor
    }
    required init?(coder aDecoder: NSCoder) {
        super.init(coder: aDecoder)
    }

}
